const postcss = require('postcss')

const plugin = require('./')

function demo(input) {
    let result = postcss([plugin()]).process(input, { from: undefined })
    console.log("result", result.css);
}

let p1 = `
    .parent { 
        display:flex; 
        flex-direction: row; 
    }
    .parent { 
    display:flex; 
    flex-direction: column; 
    }

    .parent { 
    display: flex; 
    flex-wrap: wrap; 
    }
    .child { 
    width:100px; 
    } 

    .parent { 
        display:flex; 
        flex-direction: row; 
        justify-content: space-between; 
      }

      .parent { 
        display:flex; 
        flex-direction: row; 
        height:8vw; 
        align-items:stretch;
      }
      .child:nth-child(3) { 
        align-self: flex-start; 
      }
      .parent { 
        display:flex; 
        flex-direction: row; 
        height:8vw; 
        align-items:center;
      }
      .child:nth-child(3) { 
        align-self: flex-start; 
      }

      .parent { 
        display:flex; 
        flex-direction: row; 
      }
      .child:nth-child(3) { 
        flex: 1;
      }
`;
demo(p1)